﻿using System;

namespace LTJ.Entity
{
    /// <summary>
    /// 用户信息
    /// </summary>
    [Serializable]
    public class UserInfo
    {
        #region Model
        private int _id;
        private string _lname = "";
        private string _rname = "";
        private string _ename = "";
        private string _email = "";
        private string _pass = "";
        private int _gid = 0;
        private int _cid = 0;
        private string _createdate = "1900-1-1";
        private string _lastdate = "1900-1-1";
        private string _ip;
        private int _status;
        private string _authority = "";
        private int _scores = 0;
        private int _source = 0;
        private string _creater = "";
        private string _syspass = "";
        private int _gender = 0;
        private string _phone = "";
        private string _bio = "";
        private string _ecname = "";
        private string _cname = "";
        private string _olcode = "";
        /// <summary>
        /// 用户ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 登录名
        /// </summary>
        public string lname
        {
            set { _lname = value; }
            get { return _lname; }
        }
        /// <summary>
        /// 真实名
        /// </summary>
        public string rname
        {
            set { _rname = value; }
            get { return _rname; }
        }
        /// <summary>
        /// 英文名
        /// </summary>
        public string ename
        {
            set { _ename = value; }
            get { return _ename; }
        }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string pass
        {
            set { _pass = value; }
            get { return _pass; }
        }
        /// <summary>
        /// 所属用户组
        /// </summary>
        public int gid
        {
            set { _gid = value; }
            get { return _gid; }
        }
        /// <summary>
        /// 所属公司
        /// </summary>
        public int cid
        {
            set { _cid = value; }
            get { return _cid; }
        }
        /// <summary>
        /// 建立时间
        /// </summary>
        public string createdate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 最近登录时间
        /// </summary>
        public string lastdate
        {
            set { _lastdate = value; }
            get { return _lastdate; }
        }
        /// <summary>
        /// 登录IP
        /// </summary>
        public string ip
        {
            set { _ip = value; }
            get { return _ip; }
        }
        /// <summary>
        /// 默认1，正常；0，停用；2，删除
        /// </summary>
        public int status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 权限
        /// </summary>
        public string authority
        {
            set { _authority = value; }
            get { return _authority; }
        }
        /// <summary>
        /// 积分
        /// </summary>
        public int scores
        {
            set { _scores = value; }
            get { return _scores; }
        }
        /// <summary>
        /// 来源
        /// </summary>
        public int source
        {
            set { _source = value; }
            get { return _source; }
        }
        /// <summary>
        /// 创建者
        /// </summary>
        public string creater
        {
            set { _creater = value; }
            get { return _creater; }
        }
        /// <summary>
        /// 系统密码
        /// </summary>
        public string syspass
        {
            set { _syspass = value; }
            get { return _syspass; }
        }
        /// <summary>
        /// 性别
        /// </summary>
        public int gender
        {
            set { _gender = value; }
            get { return _gender; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string bio
        {
            set { _bio = value; }
            get { return _bio; }
        }
        /// <summary>
        /// 所属企业英文名
        /// </summary>
        public string ecname
        {
            set { _ecname = value; }
            get { return _ecname; }
        }
        /// <summary>
        /// 所属企业中文名
        /// </summary>
        public string cname
        {
            set { _cname = value; }
            get { return _cname; }
        }
        /// <summary>
        /// 在线验证码
        /// </summary>
        public string olcode
        {
            set { _olcode = value; }
            get { return _olcode; }
        }
        #endregion Model
    }
}